package core.models.drawable;

public class Shape {
	protected int x;
	protected int y;
	protected int width;
	protected int height;

	/**
	* This is the MovableShape constructor.
	* @param x the x-position
	* @param y the y-position
	* @param width the width of the shape
	* @param height the height of the shape
	*/
	public Shape( int x, int y, int width, int height) {
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
	}


	/**
	* This is the Setter for the x position
	* @param x the x-position
	*/
	public void setX(int x) {
		this.x = x;
	}

	/**
	* This is the Setter for the y position
	* @param y the y-position
	*/
	public void setY(int y) {
		this.y = y;
	}

	/**
	* This is the Getter for the x position
	* @return the x position
	*/
	public int getX() {
		return x;
	}

	/**
	* This is the Getter for the y position
	* @return the y position
	*/
	public int getY() {
		return y;
	}

	/**
	* This is the setter for the width
	* @param width the width of the shape
	*/
	public void setWidth(int width) {
		this.width = width;
	}

	/**
	* This is the setter for the heigth
	* @param height the height of the shape
	*/
	public void setHeight(int height) {
		this.height = height;
	}

	/**
	* This is the Getter for the width of the shape
	* @return the width of the shape
	*/
	public int getWidth() {
		return width;
	}

	/**
	* This is the Getter for the height of the shape
	* @return the height of the shape
	*/
	public int getHeight() {
		return height;
	}



}
